﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.Domain.RBAC
{
	/// <summary>
	/// 角色权限
	/// </summary>
	[Table("RolePermission")]
	public class RolePermission:BaseData
	{
		/// <summary>
		/// 角色权限Id
		/// </summary>
        [Key]
        public int RPId { get; set; }
		/// <summary>
		/// 角色Id
		/// </summary>
        public int RoleId { get; set; }
		/// <summary>
		/// 权限Id
		/// </summary>
        public int PermissionId { get; set; }
    }
}
